vpc/server: Fix network statistics for vpc#3944
Conversation
|
Is this in progress or ready for review @ustcweizhou ? |
@rhtyd it is ready for review travis failed, I will check it. |
don't bother @weizhouapache those seem to be the usual log too long errors. Travis stops at 4GB or so. |
thanks @DaanHoogland for your info. |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1356 |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos7 ✖debian. JID-1368 |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1508 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-1976)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
code looks good and i like the simplification, but ...
@PaulAngus @andrijapanicsb do we know people that use per tier billing somehow? this will impede those.
|
@weizhouapache converted to draft so it is clear 4.15 is not waiting for it. please change back if you disagree |
|
@ustcweizhou @weizhouapache can you comment/explore the cases where this could add regression for usage/billing? |
09cec4b to
b3403e2
Compare
|
@DaanHoogland @rhtyd |
|
@weizhouapache the changes seem logical to me and given your description above seem to do what you intended, but we have no testdescription and no integration tests to guarantee against regressions. I'm a bit reluctant to include this just before release. can we with just the current set of smoke tests? cc @rhtyd @sureshanaparti are there any others we could ask for testing this functionality? |
@DaanHoogland let's move this to 4.15.1.0 (and 4.14.1.0) |
|
@weizhouapache conflicts here |
This contains 3 main changes (1) add NETWORK_STATS_ethX for all nics with public ips in VPC VRs (current: NETWORK_STATS_eth1) (2) DO NOT create records in user_statistics for each VPC tier (only one record per public nic per VPC VR) (3) send NetworkUsageCommand before unplugging a NIC with public IPs from VPC VR
b3403e2 to
6e83c77
Compare
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2798 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3601)
|
|
@rhtyd @weizhouapache no discussion has happened, do we dare merge this? |
@DaanHoogland @rhtyd we have this patch on our productions. looks good until now. |
yadvr
left a comment
There was a problem hiding this comment.
Proxying my lgtm based on Daan's and Wei's comments/review.
Description
This contains 3 main changes
(1) add NETWORK_STATS_ethX for all nics with public ips in VPC VRs (current: NETWORK_STATS_eth1)
(2) DO NOT create records in user_statistics for each VPC tier (only one record per public nic per VPC VR)
(3) send NetworkUsageCommand before unplugging a NIC with public IPs from VPC VR
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?